<div class="row searchLineWrap">
	<form id="wcthemeList" name="wcthemeList" action="${cxt!}/wealthcollegetheme/getWcthemeList" method="post" class="form-horizontal">
		<div class="col-lg-12">
			<div class="col-md-3">
				<div class="form-group">
					<label class="col-md-5 control-label">${_res["wealth.college.theme.name"]}:</label>
					<div class="col-md-7">
						<input type="text" class="form-control" name="wealthCollegeTheme.l_themename" placeholder="${_res['wealth.college.theme.name']}" value="${paramMap['applicantForm.l_themename']}" />
					</div>
				</div>
			</div>

			<div class="col-md-3">
				<div class="form-group">
					<label class="col-md-5 control-label">${_res["wealth.college.theme.url"]}:</label>
					<div class="col-md-7">
						<input type="text" class="form-control" name="wealthCollegeTheme.l_url" placeholder="${_res['wealth.college.theme.url']}" value="${paramMap['applicantForm.l_url']}" />
					</div>
				</div>
			</div>

			<div class="col-md-3">
				<div class="form-group">
					<label class="col-md-5 control-label">${_res["wealth.college.usergroup"]}:</label>
					<div class="col-md-7">
						<#dict type="select" name="wealthCollegeTheme.f_usergroup" table="customer_role" filedName="name" filedValue="code" defaultValue="${paramMap['project.f_status']}"/>
					</div>
				</div>
			</div>

			<div class="col-md-3">
					<label class="col-md-4 control-label"> 
						<% if(hasPrivilegeUrl("getWcthemeList")){ %>
							<button type="button" class="btn btn-primary pull-right" onclick="ajaxForm('content','wcthemeList')">
								<i class="fa fa-search m-l-sm m-r-xs"></i>${_res["system.search"]}
							</button> 
						<% } %>
					</label>
			</div>
		</div>
	</form>
</div>

<div class="row searchLineWrap">
	<p>
		<% if(hasPrivilegeUrl("getWcthemeList")){ %> <a
			href="javascript:void(0);"
			onClick="ajaxContent('/admin/toUrl?toUrl=/realty/wealthcollege/addtheme.html');"
			class="btn btn-primary pull-left">${_res["wealth.college.addSpecial"]}</a>
		<% } %>
		<div class="clearfix"></div>
	</p>
	<table class="table table-bordered" id="list-table">
		<thead>
			<tr>
				<th>${_res["wealth.college.theme.name"]}</th>
				<th>${_res["wealth.college.theme.url"]}</th>
				<th>${_res["wealth.college.theme.introduction"]}</th>
				<th>${_res["wealth.college.usergroup"]}</th>
				<th>${_res["user.review.processor"]}</th>
			</tr>
		</thead>
		<tbody>
			<% for(record in splitPage.list!){ %>
				<tr>
					<td style="background-color: rgb(255, 255, 255);">${record.themename!}</td>
					<td style="background-color: rgb(255, 255, 255);">${record.url!}</td>
					<td style="background-color: rgb(255, 255, 255);">${record.themeintorduction!}</td>
					<td style="background-color: rgb(255, 255, 255);">
						<#dict type="lable" value="${record.usergroup!}" table="customer_role" filedName="name" filedValue="code" /></td>
					<td style="background-color: rgb(255, 255, 255);">
						<% if(hasPrivilegeUrl("getTheme")){ %> 
							<button type="button" class="btn btn-sm btn-link" onClick="ajaxContent('/wealthcollegetheme/getTheme?id=${record.id!}/toUrl?toUrl=/realty/wealthcollege/themedetail.html');">
								${_res["user.review.review"]}
							</button>
						<% } %>
						<% if(hasPrivilegeUrl("toEditTheme")){ %>
							<button type="button" class="btn btn-sm btn-link" onClick="ajaxContent('/wealthcollegetheme/toEditTheme/${record.id!}')">
								${_res["system.edit"]}
							</button>
						<% } %> 
						<% if(hasPrivilegeUrl("deleteTheme")){ %>
							<button type="button" class="btn btn-sm btn-link" data-trigger="confirm" onClick="ajaxDelete('/wealthcollegetheme/deleteTheme/${record.id!}')">
								${_res["system.delete"]}
							</button>
						<% } %>
					</td>
				</tr>
			<% } %>
		</tbody>
	</table>
	<div id="splitPageDiv"><#page formId="wcthemeList" /></div>
	<#nav />
</div>